package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.entity.SysDept;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 就业追踪对象 EmploymentTracking
 * 
 * @author luofan
 * @date 2024-11-17
 */
public class EmploymentTracking extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 学号 */
    @Excel(name = "学号")
    private Long studentId;

    /** 联系月份 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "联系月份", width = 30, dateFormat = "yyyy-MM-dd")
    private Date contactMonth;

    /** 就业记录 */
    @Excel(name = "就业记录")
    private String employmentRecord;

    private SysDept classDept;

    public SysDept getClassDept() {
        return classDept;
    }

    public void setClassDept(SysDept classDept) {
        this.classDept = classDept;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setStudentId(Long studentId) 
    {
        this.studentId = studentId;
    }

    public Long getStudentId() 
    {
        return studentId;
    }
    public void setContactMonth(Date contactMonth) 
    {
        this.contactMonth = contactMonth;
    }

    public Date getContactMonth() 
    {
        return contactMonth;
    }
    public void setEmploymentRecord(String employmentRecord) 
    {
        this.employmentRecord = employmentRecord;
    }

    public String getEmploymentRecord() 
    {
        return employmentRecord;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("studentId", getStudentId())
            .append("contactMonth", getContactMonth())
            .append("employmentRecord", getEmploymentRecord())
                .append("classDept", getClassDept())
            .toString();
    }
}
